 <?php
/*  $request=\YII::$app->request; */
 //$res=\YII::$app->response;
 /*  echo $request->get('id',20);
  echo $request->post('id',20);
   if($request->isGet){
	   
	   echo 'this is get method';
   }
    if($request->isPost){
	   
	   echo 'this is post method';
   }   */
  //$res->statusCode='404';
 ?>
 
 <?php
 
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
echo Html::encode($username).'<br/>';
echo HtmlPurifier::process($username);
 ?>